<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>Zend Framework</title>
</head>
<body style="margin-left:0;margin-top:25px;">
<center>
<h4>{$title}</h4>
<h4>Bạn đang đăng nhâp với tài khoản : {$admin_fullname}-----<i><a href="{$base_url}/auth/logout">Thoát</a></i></h4>
<h3>Ket qua tim kim cua tu khoa : {$troi}</h3>
<table border=1 align=center valign=top cellspacing="1" cellpadding="2">
  <tr>
  	<td>Admin_id</td>
    <td align="center"><b>Tên </b></td>
    <td align="center"><b>Miêu tả </b></td>
    <td align="center"><b>Tác giả</b></td>
    <td align="center"><b>Chức năng </b></td>
  </tr>
  
  {section name=row loop=$all_data}
  <tr>
  	<td>{$all_data[row].admin_id}</td>
    <td align="center" width="150">{$all_data[row].name}</td>
    <td align="center" width="300">{$all_data[row].description}</td>
    <td align="center" width="100">{$all_data[row].author}</td>
    <td align="center" width="100"><a href="{$base_url}/index/edit/id/{$all_data[row].id }">Sửa</a>---<a href="{$base_url}/index/del/id/{$all_data[row].id }">Xóa</a></td>
   {/section}
   
</table>
<h3><a href="{$base_url}/index/add">Thêm mới sách</a></h3>
</center>
</body>
</html>